#include <stdio.h>
#include <ctype.h>

#include "\mylib\getkbd.h"

main()
	{
	int c;

	while ((c = getkbd()) != kESC)
		printf("%d\t%c\n", c, (isascii(c) && isprint(c)) ? c : '?');
	}



